# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=sqlpowerinjector
pkgver=1.2
pkgrel=2
pkgdesc='Application created in .Net 1.1 that helps the penetration tester to find and exploit SQL injections on a web page.'
url='http://www.sqlpowerinjector.com/download.htm'
groups=('blackarch' 'blackarch-windows' 'blackarch-webapp')
license=('custom:unknown')
arch=('any')
makedepends=('unrar')
source=("https://downloads.sourceforge.net/project/spinj/spinj/SQL%20Power%20Injector%20v%201.2/PackageSPinjv1-2.rar")
noextract=('PackageSPinjv1-2.rar')
sha512sums=('79443b5304691676c8495b047a862a5d199ebe47fe39d385d137b49e05c2c97c0e1f2da5ddbdd34345e44d764e8f101ee33eb899fc79151f495322cd0521ab77')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  unrar x PackageSPinjv1-2.rar

  rm PackageSPinjv1-2.rar

  cp -a * "$pkgdir/usr/share/windows/$pkgname/"
}

